package com.wangyang.service;

import com.wangyang.pojo.Article;
import com.wangyang.pojo.Result;

public interface ArticleService {
    Result addArticle(Article article);
    Result getArticlePage(Integer pageNum, Integer pageSize, Integer categoryId, String state);
    Result getArticleById(Integer id);
    Result updateArticle(Article article);
    Result deleteArticle(Integer id);
}
